ComponentOne Web API Edition
AddDataSource(String,Func<IEnumerable>) Method

C1.Web.Api.DataEngine.Data Namespace > FlexPivotEngineProviderManager Class > AddDataSource Method : AddDataSource(String,Func<IEnumerable>) Method
The unique value used to stand for the data.
A function used to return the arbitrary IEnumerable.
Adds a DataSource data from an arbitrary IEnumerable.
Syntax
'Declaration
 
Public Overloads Function AddDataSource( _
   ByVal name As String, _
   ByVal dataSourceGetter As Func(Of IEnumerable) _
) As FlexPivotEngineProviderManager

Parameters

name
The unique value used to stand for the data.
dataSourceGetter
A function used to return the arbitrary IEnumerable.

Return Value

The flex pivot engine provider manager.
See Also

Reference

FlexPivotEngineProviderManager Class
FlexPivotEngineProviderManager Members
Overload List